namespace CSharpePro._0916;

public class Phone
{
   public string brand {get; set;}
   public int weight {get; set;}
   public long camera {get; set;}
   public int price {get; set;}

   public void DisplayInfo()
   {
      Console.WriteLine($"品牌: {brand}");
      Console.WriteLine($"重量: {weight}g");
      Console.WriteLine($"后置摄像头像素: {camera}");
      Console.WriteLine($"价格: {price}");
   }
}